package com.example.demo2.service;

import com.example.demo2.pojo.PageBean;
import com.example.demo2.utils.Result;
import com.example.demo2.pojo.vo.EquipmentVO;

/** 
 * <br/>
 * Created by weidong on 2020/02/20
 */
public interface EquipmentService {

	Result add(EquipmentVO equipmentVO) throws Exception;

	Result updateById(EquipmentVO equipmentVO) throws Exception;
	
	Result findById(Integer id) throws Exception;
	
	Result list(EquipmentVO equipmentVO) throws Exception;

    PageBean listPage(EquipmentVO equipmentVO) throws Exception;
	
	Result count(EquipmentVO equipmentVO) throws Exception;
	
	Result deleteById(Integer id) throws Exception;

    Result deleteByCategoryId(Integer id) throws Exception;
}